import http from '../index';

export const getAll = (data) => http({
    url: '/api/auctioneers?' + data,
    method: 'get'
})

export const delData = (data) => http({
    url: '/api/auctioneers/' + data,
    method: 'delete'
})

export const addData = (data) => http({
    url: '/api/auctioneers',
    method: 'post',
    data
})

export const editData = (data) => http({
    url: '/api/auctioneers',
    method: 'put',
    data
})
